//
//  WFlookbackTableViewCell.m
//  WangyiFangzuo
//
//  Created by 蔡靖方 on 16/9/15.
//  Copyright © 2016年 111. All rights reserved.
//

#import "WFlookbackTableViewCell.h"
#import <UIImageView+WebCache.h>
@implementation WFlookbackTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
-(void)setModel:(WFclassmodel *)model{
    _model=model;
    _namelable.text=model.roomName;
    _usercontlable.text=[NSString stringWithFormat:@"%@",model.userCount];
    [_backimage sd_setImageWithURL:[NSURL URLWithString:model.image]];
    
    
    
}
+(instancetype)cell{
    return [[[NSBundle mainBundle]loadNibNamed:@"WFlookbackTableViewCell" owner:nil options:nil]lastObject];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
